<?php
//
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\admin\models\FormFields */
/* @var $form yii\widgets\ActiveForm */

?>
<div class="form-fields-form">
<!--    <input type="button" value="sadas">-->
    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'USER_FORM_INFO_FLAG_MOBILE')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('手机号') ?>

    <?= $form->field($model, 'USER_FORM_INFO_FLAG_SEX')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('性别') ?>

    <?= $form->field($model, 'USER_FORM_INFO_FLAG_NAME')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('姓名') ?>

    <?= $form->field($model, 'USER_FORM_INFO_FLAG_BIRTHDAY')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('生日') ?>

    <?= $form->field($model, 'USER_FORM_INFO_FLAG_IDCARD')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('身份证') ?>

    <?= $form->field($model, 'USER_FORM_INFO_FLAG_EMAIL')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('邮箱') ?>

    <?= $form->field($model, 'USER_FORM_INFO_FLAG_LOCATION')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('详细地址') ?>
    
    <?= $form->field($model, 'USER_FORM_INFO_FLAG_INDUSTRY')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('行业') ?>

    <?= $form->field($model, 'USER_FORM_INFO_FLAG_INCOME')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('收入') ?>

    <?= $form->field($model, 'USER_FORM_INFO_FLAG_HABIT')->radioList(['required_form' => '必填', 'optional_form' => '非必填', '' => 'no'])->label('兴趣爱好') ?>


    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
